package com.example.springboot01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("`admin`")
public class Admin {

    @TableId(type = IdType.AUTO)
    private Integer id;

    // 关联账户 ID
    private Integer userId;
}
